(global.webpackJsonp = global.webpackJsonp || []).push([ [ "components/kp-slider/index" ], {
    "2ebc": function(t, e, i) {
        var n = i("81e1");
        i.n(n).a;
    },
    4557: function(t, e, i) {
        i.d(e, "b", function() {
            return n;
        }), i.d(e, "c", function() {
            return a;
        }), i.d(e, "a", function() {});
        var n = function() {
            this.$createElement;
            this._self._c;
        }, a = [];
    },
    "81e1": function(t, e, i) {},
    d380: function(t, e, i) {
        i.r(e);
        var n = i("e829"), a = i.n(n);
        for (var s in n) "default" !== s && function(t) {
            i.d(e, t, function() {
                return n[t];
            });
        }(s);
        e.default = a.a;
    },
    e829: function(t, e, i) {
        (function(t) {
            Object.defineProperty(e, "__esModule", {
                value: !0
            }), e.default = void 0;
            var i = {}, n = t.getSystemInfoSync(), a = {
                props: {
                    value: {
                        default: 0,
                        type: Number
                    },
                    min: {
                        default: 0,
                        type: Number
                    },
                    max: {
                        default: 100,
                        type: Number
                    },
                    step: {
                        default: 1,
                        type: Number
                    },
                    size: {
                        default: "100"
                    },
                    sizeUnit: {
                        default: "rpx"
                    },
                    strokeWidth: {
                        default: "3px"
                    },
                    disabled: {},
                    blockSize: {
                        default: "12px"
                    },
                    backgroundColor: {
                        default: "#e2e4e5"
                    },
                    activeColor: {
                        default: "#ff170d"
                    },
                    blockColor: {
                        default: "#ff170d"
                    },
                    density: {
                        default: 100
                    }
                },
                data: function() {
                    return {
                        hover: !1,
                        rate: n.windowWidth / 750,
                        posVal: 0,
                        _posVal: 0
                    };
                },
                computed: {
                    val: {
                        get: function() {
                            return this.value;
                        },
                        set: function(t) {
                            this.$emit("input", t);
                        }
                    },
                    points: function() {
                        for (var t = [], e = this.density + 1; e--; ) t.push(e);
                        return t;
                    }
                },
                watch: {
                    value: {
                        handler: function(t) {
                            this.posVal = 100 * (t - this.min) / (this.max - this.min);
                        },
                        immediate: !0
                    }
                },
                mounted: function() {},
                methods: {
                    handleClick: function(t) {
                        if (!this.disabled) {
                            var e = t.target.dataset.mun * (100 / this.density), i = 100 / (this.max - this.min) * this.step, n = Math.round(e / i) * i;
                            this._posVal = n;
                            var a = this.max - this.min;
                            this.val = Math.round(100 * (a * this._posVal / 100 + this.min)) / 100, this.$emit("changed", t.target.dataset.mun);
                        }
                    },
                    touchS: function(t) {
                        if (!this.disabled) {
                            this.hover = !0;
                            var e = t.changedTouches[0];
                            i.touchS = e, i.touchS.val = this.posVal;
                        }
                    },
                    touchM: function(t) {
                        if (!this.disabled) {
                            var e = t.changedTouches[0], n = Math.round(100 * (Number(i.touchS.val) - (i.touchS.pageY - e.pageY) / (("rpx" == this.sizeUnit ? this.size * this.rate : this.size) / 100))) / 100;
                            if (n > 100) this._posVal = 100; else if (n < 0) this._posVal = 0; else {
                                var a = 100 / (this.max - this.min) * this.step, s = Math.round(n / a) * a;
                                this._posVal = s;
                            }
                            var o = this.max - this.min;
                            this.val = Math.round(100 * (o * this._posVal / 100 + this.min)) / 100, this.$emit("changing", this.val);
                        }
                    },
                    touchE: function(t) {
                        this.disabled || (this.$emit("changed", this.val), this.hover = !1);
                    }
                }
            };
            e.default = a;
        }).call(this, i("543d").default);
    },
    efc0: function(t, e, i) {
        i.r(e);
        var n = i("4557"), a = i("d380");
        for (var s in a) "default" !== s && function(t) {
            i.d(e, t, function() {
                return a[t];
            });
        }(s);
        i("2ebc");
        var o = i("f0c5"), u = Object(o.a)(a.default, n.b, n.c, !1, null, null, null, !1, n.a, void 0);
        e.default = u.exports;
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "components/kp-slider/index-create-component", {
    "components/kp-slider/index-create-component": function(t, e, i) {
        i("543d").createComponent(i("efc0"));
    }
}, [ [ "components/kp-slider/index-create-component" ] ] ]);